import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import list from '@/page/list'
import mine from '@/page/mine'
import statistics from '@/page/statistics'
Vue.use(Router)

export default new Router({
  routes: [
    {path: '/', redirect: '/list'},
    {
      path: '/hello',
      name: 'Hello',
      component: HelloWorld
    },
    {
      path:'/list',
      component: list,
    },
    {
      path:'/mine',
      component: mine,
    },
    {
      path:'/statistics',
      component: statistics,
    }
  ]
})
